package fpzhan.plane.program.describe;

import fpzhan.plane.program.connect.ChainCodeBlockConnect;

public class SignBeginComment {

    private ChainCodeBlockConnect connect;

    private String signName;

    public SignBeginComment(ChainCodeBlockConnect connect, String signName) {
        this.connect = connect;
        this.signName = signName;
    }

    public ChainCodeBlockConnect comment(String comment){
        this.connect.getContext().getBeginFlowComment().put(signName,comment);
        return this.connect;
    }
}
